import axios from 'axios'
var url="https://m.maizuo.com/gateway?cityId=110100&pageNum=1&pageSize=10&type=2&k=3508765"
// 导出一个promise对像
export default   axios({
     url,
      headers:{
        "X-Host":"mall.film-ticket.film.list"
      },
      method:"GET"
    }).then(function (response) {
         return response.data.data.films  
            })
            .catch(function (error) {
                console.log(error);
            });
